# $NetBSD: Makefile,v 1.26 2008/12/18 13:46:51 hira Exp $

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../meta-pkgs/xfce4/Makefile.common"

DISTNAME=	libxfcegui4-${XFCE4_VERSION}
PKGNAME=	libxfce4gui-${XFCE4_VERSION}
CATEGORIES=	x11
COMMENT=	Xfce widget library

PKGCONFIG_OVERRIDE=	libxfce4kbd-private/libxfce4kbd-private-1.0.pc.in
PKGCONFIG_OVERRIDE+=	libxfcegui4/libxfcegui4-1.0.pc.in

CONFIGURE_ARGS+=	--disable-gladeui

EGDIR=			${XFCE4_EGBASE}/xfconf/xfce-perchannel-xml
PKG_SYSCONFSUBDIR=	xdg
CONF_FILES=		${EGDIR:Q}/xfce4-keyboard-shortcuts.xml \
	${PKG_SYSCONFDIR:Q}/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

MAKE_DIRS+=	${PKG_SYSCONFDIR:Q} ${PREFIX:Q}/include/xfce4
MAKE_DIRS+=	${XFCE4_EGBASE:Q} ${XFCE4_EGBASE:Q}/xfconf ${EGDIR:Q}
OWN_DIRS+=	${PKG_SYSCONFDIR:Q}/xfce4 ${PKG_SYSCONFDIR:Q}/xfce4/xfconf
OWN_DIRS+=	${PKG_SYSCONFDIR:Q}/xfce4/xfconf/xfce-perchannel-xml
USE_DIRS+=	xdg-1.4

.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/xfconf/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libxfce4util/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
